#ifndef _BEH_H
#define _BEH_H

#include "lex_an.h"
#include "jadro.h"
#include "bpromsez.h"

extern int Bunikat;
extern int Bprazdnygraf;

struct Bsezsez{
  Qstrom *u1,*u2;
  Bsezsez *dal;
};

struct Bhodnota{
  Qstrom *v,*q,*r;
  char *s;
  int d;
};

struct Bsezunif{
  Bsezsez *s;
  Qstrom *q,*u,*ss1,*ss2;
};

struct Bdesunif{
  Qstrom *q,*ss1,*ss2;
  string s;
  int i;
};

struct Bkrokunif{
  Qstrom *p1,*p2;
};

struct Bunif{
  int konst;
  Bpromsez *p;
  Bsezsez *o;
  union{
    Bsezunif *s;
    Bdesunif *d;
    Bkrokunif *k;
  } lok;
  Bunif *zpet;
};

#endif
